import request from "@/utils/request";

// api地址
const api = {
  list: "dealer.recharge_apply/list",
  teamList: "ranking/team",
  audit: "dealer.recharge_apply/auth",
};

// 我的团队列表
export const list = (param) => {
  return request.get(api.list, param);
};

export const teamList = (param) => {
  return request.get(api.teamList, param);
};

// 审核
export const audit = (id, param) => {
  console.log(id, param), id, param;

  return request.post(api.audit + `&orderNo=${id}`, param);
};
